-
Home
-
AIP: Complete AI Toolkit for WordPress (formerly AI Power)
-
2.3.42
-
Code
-
Classes
- GoogleProviderStrategy
| Total Complexity |
17 |
| Dependencies |
4 |
| Dependents |
11 |
| Total lines |
60 |
| Lines of code |
45 |
| Logical lines of code |
23 |
| Comment lines |
2 |
| Methods |
11 |
| Properties |
0 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| __construct() |
S |
58 |
7 |
15 |
| build_api_url() |
S |
76 |
1 |
3 |
| get_api_headers() |
S |
76 |
1 |
3 |
| format_chat_payload() |
S |
76 |
1 |
3 |
| parse_chat_response() |
S |
76 |
1 |
3 |
| parse_error_response() |
S |
76 |
1 |
3 |
| get_models() |
S |
77 |
1 |
3 |
| build_sse_payload() |
S |
76 |
1 |
3 |
| parse_sse_chunk() |
S |
76 |
1 |
3 |
| generate_embeddings() |
S |
76 |
1 |
3 |
| format_google_model_list_public() |
S |
77 |
1 |
3 |